package com.zr.repertory.affiliation.mapper;

import com.zr.repertory.affiliation.model.pojo.AddBelongVo;
import com.zr.repertory.affiliation.model.pojo.BelongPageVo;
import com.zr.repertory.affiliation.model.pojo.BelongSeeResultVo;
import com.zr.repertory.affiliation.model.pojo.WareHouseBelong;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName WareHouseBelongMapper
 * @Description TODO
 * @Author Jiakui_Ma
 * @Date 2019/11/21 11:39
 */
@Mapper
public interface WareHouseBelongMapper {

    Integer getTotalCount(BelongPageVo belongPageVo);

    List<WareHouseBelong> getCurrentPageData(BelongPageVo belongPageVo);

    BelongSeeResultVo queryById(Integer id);

    void delete(Integer legalPersonId);

    void add(AddBelongVo addBelongVo);
}
